package com.jhg.drgclinicalpathway.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
@TableName("VDCP_病人信息_路径指标参考")
public class PatientInfo {

    @TableId("病人ID")
    private String id;

    @TableField("住院号")
    private String fno;

    @TableField("病人姓名")
    private String patname;

    @TableField("病组编码")
    private String drgcode;

    @TableField("病组名称")
    private String drgname;

    @TableField("主要诊断编码")
    private String discode;

    @TableField("主要诊断名称")
    private String disname;

    @TableField("主要手术编码")
    private String optcode;

    @TableField("主要手术名称")
    private String optname;

    //@TableField("主要手术名称")
    private String 其他诊断名称;
    private String 其他手术名称;
    @TableField("床号")
    private String 床号;

    @TableField("总费用")
    private Double cost;

    @TableField("床日")
    private Double bed;

    @TableField("权重")
    private Double rw;

    @TableField("药品费")
    private Double expended;

    @TableField("药品_主诊断金额")
    private Double expendedZ;

    @TableField("药品_次诊断金额")
    private Double expendedC;

    @TableField("检验费")
    private Double surveyfee;

    @TableField("检验_主诊断金额")
    private Double surveyfeeZ;

    @TableField("检验_次诊断金额")
    private Double surveyfeeC;

    @TableField("检查费")
    private Double examfee;

    @TableField("检查_主诊断金额")
    private Double examfeeZ;

    @TableField("检查_次诊断金额")
    private Double examfeeC;

    @TableField("治疗费")
    private Double 治疗费;

    @TableField("治疗_主诊断金额")
    private Double 治疗费Z;

    @TableField("治疗_次诊断金额")
    private Double 治疗费C;

    @TableField("手术费")
    private Double optfee;

    @TableField("手术_主诊断金额")
    private Double optfeeZ;

    @TableField("手术_次诊断金额")
    private Double optfeeC;

    @TableField("耗材费")
    private Double matfee;

    @TableField("耗材_主诊断金额")
    private Double matfeeZ;

    @TableField("耗材_次诊断金额")
    private Double matfeeC;

    @TableField("出院日期")
    private Date otime;

    @TableField("入院日期")
    private Date itime;

    @TableField("刷新时间")
    private Date rtime;

    private Boolean 是否入径;
    private Boolean 是否评估;


    private Double 得分;

    private String 科室;


    private String 医生;
    //手术日期
    @TableField(exist = false)
    private Date optDate;

    @TableField(exist = false)
    private Boolean sl;

    @TableField(exist = false)
    private Object std;

    @TableField("路径ID")
    private String 路径ID;

    @TableField("版本ID")
    private String 版本ID;

    @TableField(exist = false)
    private String 版本名称;
    @TableField(exist = false)
    private String 模板名称;

    @TableField("年龄")
    private String age;

    @TableField("性别")
    private String gender;

    @TableField("在院")
    private Boolean zy;

    @TableField("分组日志")
    private String error;

    private String 路径名称;

    private Double 全自费;

    //@TableField(exist = false)
    private Double 并发症实际消耗;

    //@TableField(exist = false)
    private Double 并发症理论额度;

    private String 标杆来源;
    @TableField("标杆来源ID")
    private String 标杆来源ID;
    private Double 标准总费用;
    private Double 标准床日;
    private Double 标准药品费;
    private Double 标准检查费;
    private Double 标准检验费;
    private Double 标准手术费;
    private Double 标准耗材费;
    private Double 标准治疗费;
    private Double 标准草药费;
    private Double 标准其他费;

    @TableField("中药_主诊断金额")
    private Double 中药主诊断金额;

    @TableField("中药_次诊断金额")
    private Double 中药次诊断金额;

    @TableField(exist = false)
    private List<Map<String, Object>> warms;

}
